import 'package:bloctest/model/login_model.dart';
import 'package:flutter/material.dart';

class UserState extends InheritedWidget {

  final LoginModel loginModel;

  UserState(this.loginModel, {required super.child});


  @override
  bool updateShouldNotify(covariant InheritedWidget oldWidget) {
    // TODO: implement updateShouldNotify
    throw false;
  }

  static UserState of(BuildContext context) {
    return context.dependOnInheritedWidgetOfExactType<UserState>()!;
  }
}
